home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************
- This file was created automatically by `FlexCat V1.3'
- Do not edit by hand!
- ****************************************************************/
-
-
- OPT MODULE
-
-
- ->*****
- ->** External modules
- ->*****
- MODULE 'locale' , 'libraries/locale'
- MODULE 'utility/tagitem'
-
-
- ->*****
- ->** Object definitions
- ->*****
- OBJECT fc_type
- id : LONG
- str : LONG
- ENDOBJECT
-
- EXPORT OBJECT catalog_DeftII
- msg_DeftII_Error : fc_type
- msg_Missing_Muimaster_Library : fc_type
- msg_Missing_Icon_Library : fc_type
- msg_Missing_Prefs_File : fc_type
- msg_Wrong_Prefs_File : fc_type
- msg_OK : fc_type
- msg_Simple_OK : fc_type
- msg_DeftII_Request : fc_type
- msg_Yes_No : fc_type
- msg_Really_Quit : fc_type
- msg_Not_Enough_Memory : fc_type
- msg_Not_Enough_Chip_Memory : fc_type
- msg_Missing_Library : fc_type
- msg_Arexx_Port : fc_type
- msg_Internal_Problem : fc_type
- msg_About_DeftII : fc_type
- msg_About_Text : fc_type
- msg_Wrong_Path_Met : fc_type
- msg_Unknown_Arexx_Command : fc_type
- msg_File_Requester_Still_Opened : fc_type
- msg_AppDescription : fc_type
- msg_WI_main : fc_type
- msg_GR_default_tools : fc_type
- msg_LA_old_def_tool : fc_type
- msg_LA_new_def_tool : fc_type
- msg_BT_delete_def_tool : fc_type
- msg_GR_paths : fc_type
- msg_BT_delete_path : fc_type
- msg_LA_info : fc_type
- msg_TX_info : fc_type
- msg_GR_controls : fc_type
- msg_BT_go : fc_type
- msg_BT_stop : fc_type
- msg_BT_save_prefs : fc_type
- msg_BT_about : fc_type
- msg_BT_quit : fc_type
- ENDOBJECT
-
-
- ->*****
- ->** Global variables
- ->*****
- DEF cat_DeftII : PTR TO catalog
-
-
- ->*****
- ->** Creation procedure
- ->*****
- EXPORT PROC create() OF catalog_DeftII
-
- cat_DeftII := NIL
-
- self.msg_DeftII_Error.id := 0 ; self.msg_DeftII_Error.str := 'Deft II error !'
- self.msg_Missing_Muimaster_Library.id := 1 ; self.msg_Missing_Muimaster_Library.str := 'Can''t open muimaster.library !'
- self.msg_Missing_Icon_Library.id := 2 ; self.msg_Missing_Icon_Library.str := 'Can''t open icon.library !'
- self.msg_Missing_Prefs_File.id := 3 ; self.msg_Missing_Prefs_File.str := 'Can''t find preference file !'
- self.msg_Wrong_Prefs_File.id := 4 ; self.msg_Wrong_Prefs_File.str := 'Preference file is corrupted !'
- self.msg_OK.id := 5 ; self.msg_OK.str := '*_OK'
- self.msg_Simple_OK.id := 6 ; self.msg_Simple_OK.str := '_OK'
- self.msg_DeftII_Request.id := 7 ; self.msg_DeftII_Request.str := 'Deft II request !'
- self.msg_Yes_No.id := 8 ; self.msg_Yes_No.str := '*_Yes|_No'
- self.msg_Really_Quit.id := 9 ; self.msg_Really_Quit.str := '\ecYou have modified the preferences\n' +
- '\ecwithout saving the changes...\n' +
- '\ecReally quit ?'
- self.msg_Not_Enough_Memory.id := 10 ; self.msg_Not_Enough_Memory.str := 'Not enough memory !'
- self.msg_Not_Enough_Chip_Memory.id := 11 ; self.msg_Not_Enough_Chip_Memory.str := 'Not enough chip memory !'
- self.msg_Missing_Library.id := 12 ; self.msg_Missing_Library.str := 'Can''t open a needed library !'
- self.msg_Arexx_Port.id := 13 ; self.msg_Arexx_Port.str := 'Can''t create arexx port !'
- self.msg_Internal_Problem.id := 14 ; self.msg_Internal_Problem.str := 'Internal problem !'
- self.msg_About_DeftII.id := 15 ; self.msg_About_DeftII.str := 'About Deft II...'
- self.msg_About_Text.id := 16 ; self.msg_About_Text.str := '\ecDeft II is a giftware program.\n' +
- '\ecI''m very interested in feedback of any kind.\n' +
- '\n' +
- '\ecSo don''t hesitate to contact me !\n' +
- '\ec(see the doc for more details)\n' +
- '\n' +
- '\ecLionel Vintenat\n' +
- '\ec(e-mail : vintenat@irit.fr)'
- self.msg_Wrong_Path_Met.id := 17 ; self.msg_Wrong_Path_Met.str := '\ecSome wrong paths were met during scan,\n' +
- '\ecthey were removed from the path list.'
- self.msg_Unknown_Arexx_Command.id := 18 ; self.msg_Unknown_Arexx_Command.str := 'Unknown arexx command received !'
- self.msg_File_Requester_Still_Opened.id := 19 ; self.msg_File_Requester_Still_Opened.str := 'Can''t quit : a file requester is still opened !'
- self.msg_AppDescription.id := 20 ; self.msg_AppDescription.str := 'Program to easily change icon default tooltypes'
- self.msg_WI_main.id := 21 ; self.msg_WI_main.str := 'Deft II v1.3, © 1994 Lionel Vintenat'
- self.msg_GR_default_tools.id := 22 ; self.msg_GR_default_tools.str := 'Default tools'
- self.msg_LA_old_def_tool.id := 23 ; self.msg_LA_old_def_tool.str := 'Old'
- self.msg_LA_new_def_tool.id := 24 ; self.msg_LA_new_def_tool.str := 'New'
- self.msg_BT_delete_def_tool.id := 25 ; self.msg_BT_delete_def_tool.str := '_d Delete'
- self.msg_GR_paths.id := 26 ; self.msg_GR_paths.str := 'Paths'
- self.msg_BT_delete_path.id := 27 ; self.msg_BT_delete_path.str := '_l Delete'
- self.msg_LA_info.id := 28 ; self.msg_LA_info.str := 'File'
- self.msg_TX_info.id := 29 ; self.msg_TX_info.str := 'Boring...'
- self.msg_GR_controls.id := 30 ; self.msg_GR_controls.str := 'Deft II controls'
- self.msg_BT_go.id := 31 ; self.msg_BT_go.str := '_g GO !!!'
- self.msg_BT_stop.id := 32 ; self.msg_BT_stop.str := '_s Stop'
- self.msg_BT_save_prefs.id := 33 ; self.msg_BT_save_prefs.str := '_p Save prefs'
- self.msg_BT_about.id := 34 ; self.msg_BT_about.str := '_a About'
- self.msg_BT_quit.id := 35 ; self.msg_BT_quit.str := '_q Quit'
-
- ENDPROC
-
-
- ->*****
- ->** Opening catalog procedure
- ->*****
- EXPORT PROC open( loc : PTR TO locale , language : PTR TO CHAR ) OF catalog_DeftII
-
- DEF tag , tagarg
-
- IF ( localebase AND ( cat_DeftII = NIL ) )
-
- IF language
-
- tag := OC_LANGUAGE
- tagarg := language
-
- ELSE
-
- tag:= TAG_IGNORE
-
- ENDIF
-
- cat_DeftII := OpenCatalogA( loc , 'DeftII.catalog' ,
- [ OC_BUILTINLANGUAGE , 'english' ,
- tag , tagarg ,
- OC_VERSION , 1 ,
- TAG_DONE ])
-
- ENDIF
-
- ENDPROC
-
-
- ->*****
- ->** Closing catalog procedure
- ->*****
- EXPORT PROC close() OF catalog_DeftII
-
- IF localebase THEN CloseCatalog( cat_DeftII )
- cat_DeftII := NIL
-
- ENDPROC
-
-
- ->*****
- ->** Procedure which returns the correct string according to the catalog
- ->*****
- EXPORT PROC get_string( fcstr : PTR TO fc_type ) RETURN IF cat_DeftII THEN GetCatalogStr( cat_DeftII , fcstr.id , fcstr.str ) ELSE fcstr.str
-
-
- /****************************************************************
- End of the automatically created part!
- ****************************************************************/
-